<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

<head>
    <title>Sample</title>
</head>
<body>
    <form action="<?php echo site_url('app/submit'); ?>" method="post">
        <input type='text' name='username' value='<?php echo form_value('username'); ?>' /> <?php echo form_error('username'); ?><br/>
        <input type='password' name='password' value='<?php echo form_value('password'); ?>' /><?php echo form_error('password'); ?><br/>
        <input type='submit' value='Login' />
    </form>
</body>
</html>
